package cn.ydt.ydt.community.service;

import cn.ydt.ydt.community.pojo.dto.EnclosureSingInLocationDTO;
import cn.ydt.ydt.community.pojo.vo.EnclosureSIngInLocationVO;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Administrator
 */
@Repository
@Service
@Transactional(rollbackFor = Throwable.class)
public interface EnclosureSingInLocationService {

    /**
     * 添加打卡区域
     * @return
     */
   void  addEnclosure(EnclosureSingInLocationDTO enclosure);

    /**
     * 获得打卡区域信息
     * @param communityId
     * @return
     */
    EnclosureSIngInLocationVO getEnclosureInfoByCommunityId(Long communityId);
}

